<?php if (!defined('THINK_PATH')) exit(); /*a:6:{s:36:"themes/aylt/portal/recruit/item.html";i:1520870241;s:60:"/data/home/byu3313560001/htdocs/themes/aylt/public/head.html";i:1520869999;s:64:"/data/home/byu3313560001/htdocs/themes/aylt/public/function.html";i:1520869999;s:62:"/data/home/byu3313560001/htdocs/themes/aylt/public/navTop.html";i:1520869999;s:62:"/data/home/byu3313560001/htdocs/themes/aylt/public/footer.html";i:1520869999;s:63:"/data/home/byu3313560001/htdocs/themes/aylt/public/scripts.html";i:1520869999;}*/ ?>
<!DOCTYPE html>
<html>
<head>
    <title> <?php echo (isset($site_info['site_name']) && ($site_info['site_name'] !== '')?$site_info['site_name']:''); ?></title>
    <meta name="keywords" content="<?php echo (isset($site_info['site_seo_keywords']) && ($site_info['site_seo_keywords'] !== '')?$site_info['site_seo_keywords']:''); ?>"/>
    <meta name="description" content="<?php echo (isset($site_info['site_seo_description']) && ($site_info['site_seo_description'] !== '')?$site_info['site_seo_description']:''); ?>">
    
<?php 
/*可以加多个方法哟！*/
function _sp_helloworld(){
	echo "hello ThinkCMF!";
}

function _sp_helloworld2(){
	echo "hello ThinkCMF2!";
}


function _sp_helloworld3(){
	echo "hello ThinkCMF3!";
}

 ?>
<meta name="author" content="爱悦蓝天">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">

<!-- Set render engine for 360 browser -->
<meta name="renderer" content="webkit">

<!-- No Baidu Siteapp-->
<meta http-equiv="Cache-Control" content="no-siteapp"/>

<!-- HTML5 shim for IE8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<![endif]-->
<link rel="icon" href="/themes/aylt/public/assets/images/logo.png" type="image/png">
<link rel="shortcut icon" href="/themes/aylt/public/assets/images/logo.png" type="image/png">
<link href="/themes/aylt/public/assets/simpleboot3/themes/simpleboot3/bootstrap.min.css" rel="stylesheet">
<link href="/themes/aylt/public/assets/simpleboot3/font-awesome/4.4.0/css/font-awesome.min.css" rel="stylesheet"
      type="text/css">
<!--[if IE 7]>
<link rel="stylesheet" href="/themes/aylt/public/assets/simpleboot3/font-awesome/4.4.0/css/font-awesome-ie7.min.css">
<![endif]-->
<link href="/themes/aylt/public/assets/css/style.css?{random()}" rel="stylesheet">
<style>
    /*html{filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);-webkit-filter: grayscale(1);}*/
    #backtotop {
        position: fixed;
        bottom: 50px;
        right: 20px;
        display: none;
        cursor: pointer;
        font-size: 50px;
        z-index: 9999;
    }

    #backtotop:hover {
        color: #333
    }

    #main-menu-user li.user {
        display: none
    }
</style>
<script type="text/javascript">
    //全局变量
    var GV = {
        ROOT: "/",
        WEB_ROOT: "/",
        JS_ROOT: "static/js/"
    };
</script>
<script src="/themes/aylt/public/assets/js/jquery-1.10.2.min.js"></script>
<script src="/themes/aylt/public/assets/js/jquery-migrate-1.2.1.js"></script>
<script src="/static/js/wind.js"></script>
	
    <link href="/themes/aylt/public/assets/css/slippry/slippry.css" rel="stylesheet">
    <style>
        .caption-wraper {
            position: absolute;
            left: 50%;
            bottom: 2em;
        }

        .caption-wraper .caption {
            position: relative;
            left: -50%;
            background-color: rgba(0, 0, 0, 0.54);
            padding: 0.4em 1em;
            color: #fff;
            -webkit-border-radius: 1.2em;
            -moz-border-radius: 1.2em;
            -ms-border-radius: 1.2em;
            -o-border-radius: 1.2em;
            border-radius: 1.2em;
        }

        .tc-gridbox {
            margin: 0;
        }

        @media (max-width: 767px) {
            .caption-wraper {
                left: 0;
                bottom: 0.4em;
            }

            .caption-wraper .caption {
                left: 0;
                padding: 0.2em 0.4em;
                font-size: 0.92em;
                -webkit-border-radius: 0;
                -moz-border-radius: 0;
                -ms-border-radius: 0;
                -o-border-radius: 0;
                border-radius: 0;
            }
        }

        #article_content img {
            width: 100%;
        }

    </style>
    <?php 
    \think\Hook::listen('before_head_end',$temp5aafd8f905564,null,false);
 ?>
</head>
<body class="body-white" style="position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top:0;
    background: #eaeaea;
">
<a href="/" target="_self">
    <img src="<?php echo cmf_get_image_preview_url($site_info['site_logo']); ?>" class="logo">
</a>
<nav id="topNav" class="navbar navbar-default navbar-fixed-top active">
    <div>
        <div class="collapse navbar-collapse active" id="bs-example-navbar-collapse-1">
            <ul class="nav">
                <?php

function __parse_navigationb84bcfeaee17025fbd8ba01e3105c2ff($menus,$level=1){
$_parse_navigation_func_name = '__parse_navigationb84bcfeaee17025fbd8ba01e3105c2ff';
if(is_array($menus) || $menus instanceof \think\Collection || $menus instanceof \think\Paginator): if( count($menus)==0 ) : echo "" ;else: foreach($menus as $key=>$menu): if(empty($menu['children'])): ?>
    
                        <li class="menu-item menu-item-level-<?php echo $level; ?> levelgt1">
                            <a href="<?php echo (isset($menu['href']) && ($menu['href'] !== '')?$menu['href']:''); ?>" target="<?php echo (isset($menu['target']) && ($menu['target'] !== '')?$menu['target']:''); ?>">
                                <?php echo (isset($menu['name']) && ($menu['name'] !== '')?$menu['name']:''); ?>
                            </a>
                        </li>
                    
<?php endif; endforeach; endif; else: echo "" ;endif; 
}
    $navMenuModel = new \app\admin\model\NavMenuModel();
    $menus = $navMenuModel->navMenusTreeArray('4',0);
if(''==''): ?>
    <?php echo __parse_navigationb84bcfeaee17025fbd8ba01e3105c2ff($menus); else: ?>
    < id="" class="nav navbar-nav navbar-nav-custom">
        <?php echo __parse_navigationb84bcfeaee17025fbd8ba01e3105c2ff($menus); ?>
    </>
<?php endif; ?>

                <li class="menu-item menu-item-level-1 levelgt1" style="height: 50px">

                </li>
                <?php

function __parse_navigation3eb381574c7169cdc60659d53e030c5f($menus,$level=1){
$_parse_navigation_func_name = '__parse_navigation3eb381574c7169cdc60659d53e030c5f';
if(is_array($menus) || $menus instanceof \think\Collection || $menus instanceof \think\Paginator): if( count($menus)==0 ) : echo "" ;else: foreach($menus as $key=>$menu): if(empty($menu['children'])): ?>
    
                        <li class="menu-item menu-item-level-<?php echo $level; ?> levelgt1">
                            <a href="<?php echo (isset($menu['href']) && ($menu['href'] !== '')?$menu['href']:''); ?>" target="<?php echo (isset($menu['target']) && ($menu['target'] !== '')?$menu['target']:''); ?>">
                                <?php echo (isset($menu['name']) && ($menu['name'] !== '')?$menu['name']:''); ?>
                            </a>
                        </li>
                    
<?php endif; endforeach; endif; else: echo "" ;endif; 
}
    $navMenuModel = new \app\admin\model\NavMenuModel();
    $menus = $navMenuModel->navMenusTreeArray('5',0);
if(''==''): ?>
    <?php echo __parse_navigation3eb381574c7169cdc60659d53e030c5f($menus); else: ?>
    < id="" class="nav navbar-nav navbar-nav-custom">
        <?php echo __parse_navigation3eb381574c7169cdc60659d53e030c5f($menus); ?>
    </>
<?php endif; ?>

            </ul>
        </div>
    </div>
</nav>


<div>
    <ul id="home-slider" class="list-unstyled">
        <?php
     $__SLIDE_ITEMS__ = \app\admin\service\ApiService::slides(5);
if(is_array($__SLIDE_ITEMS__) || $__SLIDE_ITEMS__ instanceof \think\Collection || $__SLIDE_ITEMS__ instanceof \think\Paginator): $i = 0; $__LIST__ = $__SLIDE_ITEMS__;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>

            <li>
                <a>
                    <div style="height: 550px;width: 100%;background:url('<?php echo cmf_get_image_url($vo['image']); ?>') center;background-size:100% auto;">

                    </div>
                </a>
            </li>
        
<?php endforeach; endif; else: echo "" ;endif; ?>
    </ul>
</div>

<div class="container tc-main" style="border-radius: 10px;background: #ffffff;padding: 20px 0;">
    <div class="row">
        <div class="col-md-12">
            <div class="tc-box article-box">
                <h2 style="text-align: center;color:#20296F;"><?php echo $recruit['name']; ?></h2>
                <hr>
                <div class="item-infobox">
                    <div class="row">
                        <div class="col-md-6">
                            <ul>
                                <li>
                                    薪资水平：<?php echo $recruit['price']; ?>
                                </li>
                                <li>
                                    招聘人数：<?php echo $recruit['peoples']; ?>人
                                </li>
                                <li>
                                    工作年限：<?php echo $recruit['work_year']; ?>年
                                </li>
                            </ul>
                        </div>
                        <div class="col-md-6">
                            <ul>
                                <li>
                                    职位类型：<?php echo $recruit['work_type']; ?>
                                </li>
                                <li>
                                    学历要求：<?php echo $recruit['work_xueli']; ?>
                                </li>
                                <li>
                                    福利待遇：<?php echo $recruit['work_fuli']; ?>
                                </li>
                            </ul>
                        </div>
                    </div>
                    <hr>
                    <div class="row">
                        <div class="col-md-6">
                            <ul>
                                <li>
                                    联系人：<?php echo $recruit['contact']; ?>
                                </li>
                                <li>
                                    性别要求：<?php echo $recruit['sex']==0?'男':$recruit['sex']==1?'女':'不限'; ?>
                                </li>
                                <li>
                                    公司：<?php echo $recruit['company_name']; ?>
                                </li>
                                <li>
                                    地址：<?php echo $recruit['company_address']; ?>
                                </li>
                            </ul>
                        </div>
                        <div class="col-md-6">

                        </div>
                    </div>
                    <hr>
                    <div class="row" id="content" style="padding:10px 110px;font-size: 20px">
                        <?php 
                            echo htmlspecialchars_decode($recruit['content']);
                         ?>
                    </div>
                    <!--<hr>-->
                    <!--<div class="row" style="text-align: center;">-->
                        <!--<button class="btn-play" data-toggle="modal" data-target="#myModal">-->
                            <!--申请职位-->
                        <!--</button>-->
                    <!--</div>-->
                </div>
            </div>
        </div>
    </div>
</div>
<!--<div class="modal fade" id="myModal" style="top:20%" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">-->
    <!--<div class="modal-dialog" role="document">-->
        <!--<div class="modal-content">-->
            <!--<div class="modal-header">-->
                <!--<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>-->
                <!--<h4 class="modal-title" id="myModalLabel">个人信息</h4>-->
            <!--</div>-->
            <!--<div class="modal-body">-->
                <!--...-->
            <!--</div>-->
            <!--<div class="modal-footer">-->
                <!--<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>-->
                <!--<button type="button" class="btn btn-primary">Save changes</button>-->
            <!--</div>-->
        <!--</div>-->
    <!--</div>-->
<!--</div>-->

<div id="footer" class="footer">
    <?php 
    \think\Hook::listen('footer_start',$temp5aafd8f9055f2,null,false);
 ?>
    <div style="height: 50px;width:1280px;bottom: 0;position: absolute;left: 50%;transform:translateX(-50%)">
        <div class="collapse navbar-collapse active" id="bs-example-navbar-collapse-1">
            <ul id="main-menu" class="navbar-nav">
                <li>
                    <?php if(!(empty($site_info['site_icp']) || (($site_info['site_icp'] instanceof \think\Collection || $site_info['site_icp'] instanceof \think\Paginator ) && $site_info['site_icp']->isEmpty()))): ?>
                        <a href="http://www.miitbeian.gov.cn/" style="font-size: 12px"
                           target="_blank"><?php echo $site_info['site_icp']; ?></a>
                    <?php endif; ?>
                </li>
                <?php

function __parse_navigationbb5be77e82d0fb356c2cc97b6b4a537a($menus,$level=1){
$_parse_navigation_func_name = '__parse_navigationbb5be77e82d0fb356c2cc97b6b4a537a';
if(is_array($menus) || $menus instanceof \think\Collection || $menus instanceof \think\Paginator): if( count($menus)==0 ) : echo "" ;else: foreach($menus as $key=>$menu): if(empty($menu['children'])): if($level > 1): ?>
                            <li class="menu-item menu-item-level-<?php echo $level; ?> levelgt1">
                                <a href="<?php echo (isset($menu['href']) && ($menu['href'] !== '')?$menu['href']:''); ?>" target="<?php echo (isset($menu['target']) && ($menu['target'] !== '')?$menu['target']:''); ?>">
                                    <?php echo (isset($menu['name']) && ($menu['name'] !== '')?$menu['name']:''); ?>
                                </a>
                            </li>
                            <?php else: ?>
                            <li class="menu-item menu-item-level-<?php echo $level; ?>">
                                <a href="<?php echo (isset($menu['href']) && ($menu['href'] !== '')?$menu['href']:''); ?>" target="<?php echo (isset($menu['target']) && ($menu['target'] !== '')?$menu['target']:''); ?>">
                                    <?php echo (isset($menu['name']) && ($menu['name'] !== '')?$menu['name']:''); ?>
                                </a>
                            </li>
                        <?php endif; endif; if(!empty($menu['children'])): ?>
    <li class="dropdown dropdown-custom dropdown-custom-level-<?php echo $level; ?>">
        
                        <a href="#" class="dropdown-toggle dropdown-toggle-<?php echo $level; ?>" data-toggle="dropdown">
                            <?php echo (isset($menu['name']) && ($menu['name'] !== '')?$menu['name']:''); ?><span class="caret"></span>
                        </a>
                    
        <ul class="dropdown-menu dropdown-menu-level-<?php echo $level; ?>">
            <?php 
            $mLevel=$level+1;
             ?>
            <?php echo $_parse_navigation_func_name($menu['children'],$mLevel); ?>
        </ul>
    </li>
<?php endif; endforeach; endif; else: echo "" ;endif; 
}
    $navMenuModel = new \app\admin\model\NavMenuModel();
    $menus = $navMenuModel->navMenusTreeArray('',0);
if(''==''): ?>
    <?php echo __parse_navigationbb5be77e82d0fb356c2cc97b6b4a537a($menus); else: ?>
    < id="main-navigation" class="nav navbar-nav navbar-nav-custom">
        <?php echo __parse_navigationbb5be77e82d0fb356c2cc97b6b4a537a($menus); ?>
    </>
<?php endif; ?>

            </ul>
            <ul class="footer-link">
                <?php
     $__LINKS__ = \app\admin\service\ApiService::links();
if(is_array($__LINKS__) || $__LINKS__ instanceof \think\Collection || $__LINKS__ instanceof \think\Paginator): $i = 0; $__LIST__ = $__LINKS__;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>

                    <li>
                        <?php if(!(empty($vo['code']) || (($vo['code'] instanceof \think\Collection || $vo['code'] instanceof \think\Paginator ) && $vo['code']->isEmpty()))): ?>
                            <img class="code-img" src="<?php echo cmf_get_image_preview_url($vo['code']); ?>">
                        <?php endif; ?>
                        <a href="<?php echo $vo['url']; ?>" target="<?php echo $vo['target']; ?>">
                            <span><?php echo $vo['name']; ?></span>
                            <img style="height: 20px" src="<?php echo cmf_get_image_preview_url($vo['image']); ?>"/>
                        </a>
                    </li>
                
<?php endforeach; endif; else: echo "" ;endif; ?>
            </ul>
        </div>
    </div>
</div>
<div id="backtotop">
    <i class="fa fa-arrow-circle-up"></i>
</div>


<style>
    .footer {
        display: block;
        animation-name: footerInAn;
        position: relative;
    }

    .footer-link {
        height: 40px;
    }

    .footer-link .code-img {
        bottom: 0;
    }

    #topNav {
        animation-name: topNavInAn;
    }

</style>
<!-- /container -->
<!-- Le javascript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
    <script src="/themes/aylt/public/assets/simpleboot3/bootstrap/js/bootstrap.min.js"></script>
    <script src="/static/js/frontend.js"></script>
	<script>
	$(function(){
		$("#main-menu li.dropdown").hover(function(){
			$(this).addClass("open");
		},function(){
			$(this).removeClass("open");
		});
		
		$("#main-menu a").each(function() {
			if ($(this)[0].href == String(window.location)) {
				$(this).parentsUntil("#main-menu>ul>li").addClass("active");
			}
		});
		
		$.post("<?php echo url('user/index/isLogin'); ?>",{},function(data){
		    console.log(data);
			if(data.code==1){
				if(data.data.user.avatar){
				}

				$("#main-menu-user span.user-nickname").text(data.data.user.user_nickname?data.data.user.user_nickname:data.data.user.user_login);
				$("#main-menu-user li.login").show();
                $("#main-menu-user li.offline").hide();

			}

			if(data.code==0){
                $("#main-menu-user li.login").hide();
				$("#main-menu-user li.offline").show();
			}

		});

        ;(function($){
			$.fn.totop=function(opt){
				var scrolling=false;
				return this.each(function(){
					var $this=$(this);
					$(window).scroll(function(){
						if(!scrolling){
							var sd=$(window).scrollTop();
							if(sd>100){
								$this.fadeIn();
							}else{
								$this.fadeOut();
							}
						}
					});
					
					$this.click(function(){
						scrolling=true;
						$('html, body').animate({
							scrollTop : 0
						}, 500,function(){
							scrolling=false;
							$this.fadeOut();
						});
					});
				});
			};
		})(jQuery); 
		
		$("#backtotop").totop();
		
		
	});
	</script>


<script src="/themes/aylt/public/assets/js/slippry.min.js"></script>
<script>
    $(function () {
        var trans = ['fade', 'horizontal']
        var tran = trans[Math.floor(Math.random() * 1 + 1)]
        $(".list-unstyled").slippry({
            transition: tran,
            useCSS: true,
            captions: false,
            speed: 1000,
            pause: 2000,
            auto: true,
            preload: 'visible',
            controls: true
        });
        $(".list-unstyled").show();
    });
</script>
<?php 
    \think\Hook::listen('before_body_end',$temp5aafd8f905673,null,false);
 ?>
</body>
</html>
